<?php
//Include the 2 important files
require_once("functions.php");
require_once("Connections/cnn.php");


    // Lấy giá trị user_name
    $email = $_REQUEST['Email']; 
     
	$execSQL = @mysql_query("SELECT Email FROM Members where Email = '{$email}';");
	$rs = @mysql_fetch_array($execSQL);
	$QEmail = $rs['Email'];
	
/*	echo $email;
	echo "</br>";
	echo $QEmail;*/
	
    if(!($email == $QEmail))
    {
        echo "<img src='images/tick.png' width='20px' height='20px' >"; 
    }
    else // Ngược lại user_name Ko tồn tại
    {
		echo "<h3 id='error'>&nbsp;Email was existed !!!</h3>";   
    }



?>